package com.zyl.pts.domain.dto.IRDTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.domain.dto.IRDTO
 * @ClassName: IRConditionalDTO
 * @Description TODO()
 * @Author 翟玉龙
 * @Date 2024/11/19-19:18
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class IRConditionalDTO {

    @JsonProperty("startWeight")
    private Integer startWeight;

    @JsonProperty("endWeight")
    private Integer endWeight;

    @NotNull(message = "页码不能为空")
    @JsonProperty("pageNum")
    private Integer pageNum;

    @NotNull(message = "每页记录数不能为空")
    @JsonProperty("pageSize")
    private Integer pageSize;
}
